#pragma once

#include "DeviceContext.h"

class CDCDeviceContext : public CDeviceContext
{
public:
	CDCDeviceContext(CDC* pDC);
	~CDCDeviceContext();
	virtual void drawPoint(double x, double y);
	virtual void ellipse(double x1,double y1,double x2,double y2);
	virtual void line(double x1,double y1,double x2,double y2);
	virtual void invalidate();
    virtual void setDrawProperties(CMapLayerDrawProperties drawProperties);
    virtual void restore();
private:
	CMapLayerDrawProperties m_drawProperties;
    CDC* m_pDC;
    CPen* m_pOldPen;
    CPen* m_pCurPen;
};
